package com.yanqu.road.entity.activity.suitang.entity.team;

import java.util.Objects;

public class CrossSuiTangTeamArrive {

    private long userId;
    private long time;

    public CrossSuiTangTeamArrive() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CrossSuiTangTeamArrive arrive = (CrossSuiTangTeamArrive) o;
        return userId == arrive.userId;
    }

    public CrossSuiTangTeamArrive(long userId, long time) {
        this.userId = userId;
        this.time = time;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
